package com.ruoyi.ftrl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 片区信息对象 areas_info
 * 
 * @author 邸航
 * @date 2024-08-05
 */
public class AreasInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long hotCount;//热表数量
    private Long flowCount;//平衡阀数量
    private Long lockCount;//锁闭阀数量
    private Long unitCount;//单元阀数量
    private Long tempCount ;//室温采集器数量
    private String standardRate;      // 达标率
    private String nonStandardRate;// 不达标率

    public Long getHotCount() {
        return hotCount;
    }

    public void setHotCount(Long hotCount) {
        this.hotCount = hotCount;
    }

    public Long getFlowCount() {
        return flowCount;
    }

    public void setFlowCount(Long flowCount) {
        this.flowCount = flowCount;
    }

    public Long getLockCount() {
        return lockCount;
    }

    public void setLockCount(Long lockCount) {
        this.lockCount = lockCount;
    }

    public Long getUnitCount() {
        return unitCount;
    }

    public void setUnitCount(Long unitCount) {
        this.unitCount = unitCount;
    }

    public Long getTempCount() {
        return tempCount;
    }

    public void setTempCount(Long tempCount) {
        this.tempCount = tempCount;
    }

    public String getStandardRate() {
        return standardRate;
    }

    public void setStandardRate(String standardRate) {
        this.standardRate = standardRate;
    }

    public String getNonStandardRate() {
        return nonStandardRate;
    }

    public void setNonStandardRate(String nonStandardRate) {
        this.nonStandardRate = nonStandardRate;
    }

    private String AverageTemperature;

    public String getAverageTemperature() {
        return AverageTemperature;
    }

    public void setAverageTemperature(String averageTemperature) {
        AverageTemperature = averageTemperature;
    }

    /**子级热力站*/
    private HeatStation heatStation;

    public HeatStation getHeatStation() {
        return heatStation;
    }

    public void setHeatStation(HeatStation heatStation) {
        this.heatStation = heatStation;
    }

    /**子级热力站列表*/
    private List<HeatStation> heatStations;

    public List<HeatStation> getHeatStations() {
        return heatStations;
    }

    public void setHeatStations(List<HeatStation> heatStations) {
        this.heatStations = heatStations;
    }

    /** 主键id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 片区名称 */
    @Excel(name = "片区名称")
    private String name;

    /** 片区地址 */
    @Excel(name = "片区地址")
    private String address;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String field1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String field2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String field3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String field4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String field5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setField1(String field1) 
    {
        this.field1 = field1;
    }

    public String getField1() 
    {
        return field1;
    }
    public void setField2(String field2) 
    {
        this.field2 = field2;
    }

    public String getField2() 
    {
        return field2;
    }
    public void setField3(String field3) 
    {
        this.field3 = field3;
    }

    public String getField3() 
    {
        return field3;
    }
    public void setField4(String field4) 
    {
        this.field4 = field4;
    }

    public String getField4() 
    {
        return field4;
    }
    public void setField5(String field5) 
    {
        this.field5 = field5;
    }

    public String getField5() 
    {
        return field5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("address", getAddress())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("field1", getField1())
            .append("field2", getField2())
            .append("field3", getField3())
            .append("field4", getField4())
            .append("field5", getField5())
            .append("heatStations", getHeatStations())
            .append("heatStation", getHeatStation())
            .append("AverageTemperature", getAverageTemperature())
            .append("standardRate", getStandardRate())
            .append("nonStandardRate", getNonStandardRate())
            .append("hotCount", getHotCount())
            .append("flowCount", getFlowCount())
            .append("lockCount", getLockCount())
            .append("unitCount", getUnitCount())
            .append("tempCount", getTempCount())
            .toString();
    }
}
